<template>
  <div class="main">
    <div class="header">
      <div class="title">
        河南省“天眼”管理平台
      </div>
      <div class="header-left">
        <img class="img" src="../../assets/img/sun.png">
        <span class="qt">晴天</span>
        <span class="qt">30℃</span>
      </div>
      <div class="header-right">2022-6-11   15:38</div>
    </div>
    <tab></tab>
    <div class="container">
      <div class="container-left">
        <div class="container-left-top chart-wrapper">
          <left-top></left-top>
        </div>
        <div class="container-left-bottom chart-wrapper">
          <left-bottom></left-bottom>
        </div>
      </div>
      <div class="container-center">
        <div class="container-center-top"></div>
        <div class="container-center-bottom chart-wrapper">
          <center-bottom></center-bottom>
        </div>
      </div>
      <div class="container-right">
        <div class="container-right-top chart-wrapper"></div>
        <div class="container-right-bottom chart-wrapper">
          <right-bottom></right-bottom>
        </div>
      </div>
    </div>
  </div>
</template>


<script setup lang="ts">
import tab from './components/tab.vue'
import leftTop from './components/left-top.vue'
import leftBottom from './components/left-bottom.vue'
import centerBottom from './components/center-bottom.vue'
import rightBottom from './components/right-bottom.vue'
import RightBottom from "./components/right-bottom.vue";

</script>

<style scoped lang="scss">
.main {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: url("../../assets/img/bg.png") no-repeat left top;
  background-size: 100% 100%;
  overflow-y: auto;
}
.header {
  height: 80px;
  width: 100%;
  background: url("../../assets/img/header.png") no-repeat left top;
  background-size: 100% 100%;
  padding: 0 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  .title {
    font-size: 36px;
    font-family: PangMenZhengDao;
    font-weight: 700;
    color: #FFFBC7;

    background: linear-gradient(0deg, rgba(255,255,255,0.73) 44.7998046875%, rgba(164,252,253,0.4) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .header-left {
    display: flex;
    align-items: center;
    font-size: 18px;
    font-family: Source Han Sans CN;
    font-weight: 500;
    color: #F3F7FE;
    position: absolute;
    left: 60px;
    bottom: 0px;
    .img {
      width: 30px;
      height: 30px;
    }
    .qt {
      padding: 0 20px 0 10px;
    }
  }
  .header-right {
    font-size: 16px;
    font-family: DIN;
    font-weight: bold;
    color: #AAB6D9;
    position: absolute;
    right: 160px;
    bottom: 10px;
  }
}
.container {
  flex: 1;
  display: flex;
  padding: 46px 20px 0 ;
  .chart-wrapper {
    background: url("../../assets/img/chart.png") no-repeat left top;
    background-size: 100% 100%;
    margin-bottom: 29px;
  }
  .container-left{
    width: 478px;
    display: flex;
    flex-direction: column;
    .container-left-top {
      height: 443px;
    }
    .container-left-bottom {
      flex: 1;
    }
  }
  .container-center{
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0 28px;
    .container-center-top {
      flex: 1;
    }
    .container-center-bottom {
      height: 272px;
    }
  }
  .container-right{
    width: 478px;
    display: flex;
    flex-direction: column;
    .container-right-top {
      height: 443px;
    }
    .container-right-bottom {
      flex: 1;
    }
  }
}
</style>
